package com.rdzn.mall.portal.domain;

import com.rdzn.mall.center.entity.OmsOrder;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 生成订单时传入的参数
 * Created by dingzg on 2018/8/30.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OrderParam extends OmsOrder {
    private static final long serialVersionUID = 6391016894226541525L;

    @ApiModelProperty("订单号")
    private Integer orderId;
    @ApiModelProperty("收货地址ID")
    private Integer addressId;
//    @ApiModelProperty("优惠券ID")
//    private Integer couponId;
//    @ApiModelProperty("使用的积分数")
//    private Integer useIntegration;
//    @ApiModelProperty("支付方式")
//    private Integer payType;
    @ApiModelProperty("购物车id")
    private Integer cartId;
//    @ApiModelProperty("被选中的购物车商品ID")
//    private List<Integer> cartIds;
}
